home *** CD-ROM | disk | FTP | other *** search
- 5 gosub60100:clr
- 6 goto1000
- 10 rem ***********************
- 20 rem read block
- 30 rem ***********************
- 70 open15,8,15:open2,8,2,"#":print#15,"u1";2;0;18;0:print#15,"b-p";2;177
- 80 tt$="":fori=177to255:get#2,a$
- 90 if(asc(a$+chr$(.))and127)<32thena$=chr$(32)
- 100 tt$=tt$+a$:next:ifa=17thenclose2:close15:return
- 110 rem ***********************
- 120 rem edit block
- 130 rem ***********************
- 140 print""tt$
- 142 print" press return when finished editing[145][145][145][145]"
- 145 printchr$(146)chr$(145);:poke198,0:poke211,0
- 150 s=peek(211)+peek(209)+peek(210)*256:pokes+54272,peek(646):f=128
- 160 pokes,peek(s)+f:f=-f:d=1
- 170 geta$:ifa$<>""then200
- 180 d=d+1:ifd=60then160
- 190 goto170
- 200 pokes,peek(s)and127:if(asc(a$)and127)<32then230
- 210 printa$;:ifpos(0)>78thenprintchr$(157);
- 220 goto150
- 230 ifa$=chr$(29)thenifpos(0)<>78then210
- 240 ifa$=chr$(157)thenifpos(0)<>0then210
- 250 ifa$=chr$(17)thenifpos(0)<39then210
- 260 ifa$=chr$(145)thenifpos(0)>39then210
- 270 ifa$<>chr$(13)then150
- 280 rem *********************
- 290 rem rewrite block
- 300 rem *********************
- 310 open6,3,6
- 320 print#15,"b-p";2;177:poke211,0
- 330 fori=0to78:get#6,a$:print#2,a$;:next
- 340 print#15,"u2";2;0;18;0:close6:close2:close15
- 1000 print"[147] disk stamper"
- 1010 print" by r. harold droid"
- 1020 print" r - read a stamp"
- 1030 print" e - edit a stamp"
- 1040 print" q - quit"
- 1050 print" press r, e, or q."
- 1060 a=peek(203):ifa<>17anda<>14anda<>62then1060
- 1070 ifa=17then2000
- 1080 ifa=14then70
- 1090 gosub60000:goto1050
- 2000 print:print:gosub70:print""tt$
- 2010 print" press space for menu"
- 2020 ifpeek(203)<>60then2020
- 2030 goto1000
- 60000 print"[145] are you sure you want to quit? (y/n)"
- 60010 a=peek(203):ifa<>25anda<>39then60010
- 60020 ifa=39thenprint"[145] [145]":return
- 60030 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
- 60040 ifer<>63thenend
- 60050 load"hello connect",8
- 60100 poke53280,1:poke53281,1
- 60110 printchr$(142)"[147][213][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][201]";
- 60120 fora=1to23:print"[221]"spc(38)"[221]";:next
- 60130 print"[202][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][203][157][148][192]"
- 60140 fora=217to242:pokea,peek(a)or128:next
- 60150 print" loadstar presents:"
- 60160 print" "
- 60170 print" disk stamper [155] "
- 60180 print" [155] "
- 60190 print" by r. harold droid [155] "
- 60200 print" [155] "
- 60210 print" copyright 1987 [155] "
- 60220 print" [155] "
- 60230 print" "
- 60240 print" press space to continue"
- 60250 ifpeek(203)<>60then60250
- 60260 return
-